package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.BaseParams;
import com.isunland.managesystem.entity.CarUsed;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/4/6 15:07
 */
public class CarUsedDetailActivity extends SingleFragmentActivity {
  @Override protected Fragment createFragment() {
    BaseParams params =
        (BaseParams) getIntent().getSerializableExtra(CarUsedNewDetailFragment.EXTRA_PARAMS);
    CarUsed carUsed =
        (CarUsed) getIntent().getSerializableExtra(CarUsedNewDetailFragment.EXTRA_VALUE);
    return CarUsedNewDetailFragment.newInstance(carUsed, params);
  }
}
